package cn.iocoder.yudao.module.eval.controller.admin.announcement.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Schema(description = "管理后台 - 自动生成计划公告 Request VO")
@Data
public class EvalAnnouncementGenerateReqVO {

    @Schema(description = "公告标题", requiredMode = Schema.RequiredMode.REQUIRED, example = "2024年第一批电工技能等级认定公告")
    @NotBlank(message = "公告标题不能为空")
    private String title;

    @Schema(description = "公告类型", example = "plan_announcement")
    private String announcementType;

    @Schema(description = "是否自动发布", example = "false")
    private Boolean autoPublish;

}
